//
//  LTClientDelegate.h
//  LTIM
//
//  Created by 俊松何 on 2017/4/15.
//  Copyright © 2017年 俊松何. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef enum{
         LTConnectionConnected  = 0,
         LTConnectionConnecting = 1,
         LTConnectionDisconnected = 2,
}LTConnectionState;

@class LTError;
@protocol LTClientDelegate <NSObject>

//链接状态发生改变会回调此方法
- (void)connectionStateDidChange:(LTConnectionState)connectionState;


//当前登录账号被强制退出时会收到该回调，有以下原因： 1.密码被修改； 2.登陆设备数过多；
-(void)userAccountDidForcedToLogout:(LTError *)aError;


@end
